package org.zhu.useful.experclass;

/**
 * Created by zhu yingzhi on 2017/9/7.
 * 商品持久化表
 */
public class Goods {
    private Long id; //商品Id 自增
    private Long cat_id;//分类Id
    private String goods_sn;//商品唯一货号
    private String goods_name;//商品名
    private Long click_count;//点击数
    private int goods_number;//库存
    private int sales;//销量
    private int goods_weight;//商品重量
    private double price;//基础价格
    private double promote_price;//促销价
    private String promote_start_date;//促销开始时间
    private String promote_end_date;//促销结束时间
    private int warn_number;//商品库存报警数量
    private String keywords;//商品关键字
    private String goods_brief;//简短描述
    private String goods_desc;//详细描述
    private String goods_thumb;//商品小图片
    private String goods_img;//商品实际图片
    private String original_img;//商品原图
    private boolean is_real;//是否是实物
    private boolean is_on_sale;//是否销售
    private String add_time;//添加时间
    private int sort_order;//商品排序权重
    private boolean is_delete;//是否删除
    private int hot_sort;//热品排序 0为不是热品
    private int best_sort;//精品排序 0为不是精品
    private int new_sort;//新品排序 0为不是新品
    private boolean is_promote;//是否促销
    private String last_update; //最后一次更新时间
    private String seller_note; //商家备注

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCat_id() {
        return cat_id;
    }

    public void setCat_id(Long cat_id) {
        this.cat_id = cat_id;
    }

    public String getGoods_sn() {
        return goods_sn;
    }

    public void setGoods_sn(String goods_sn) {
        this.goods_sn = goods_sn;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Long getClick_count() {
        return click_count;
    }

    public void setClick_count(Long click_count) {
        this.click_count = click_count;
    }

    public int getGoods_number() {
        return goods_number;
    }

    public void setGoods_number(int goods_number) {
        this.goods_number = goods_number;
    }

    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }

    public int getGoods_weight() {
        return goods_weight;
    }

    public void setGoods_weight(int goods_weight) {
        this.goods_weight = goods_weight;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getPromote_price() {
        return promote_price;
    }

    public void setPromote_price(double promote_price) {
        this.promote_price = promote_price;
    }

    public String getPromote_start_date() {
        return promote_start_date;
    }

    public void setPromote_start_date(String promote_start_date) {
        this.promote_start_date = promote_start_date;
    }

    public String getPromote_end_date() {
        return promote_end_date;
    }

    public void setPromote_end_date(String promote_end_date) {
        this.promote_end_date = promote_end_date;
    }

    public int getWarn_number() {
        return warn_number;
    }

    public void setWarn_number(int warn_number) {
        this.warn_number = warn_number;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getGoods_brief() {
        return goods_brief;
    }

    public void setGoods_brief(String goods_brief) {
        this.goods_brief = goods_brief;
    }

    public String getGoods_desc() {
        return goods_desc;
    }

    public void setGoods_desc(String goods_desc) {
        this.goods_desc = goods_desc;
    }

    public String getGoods_thumb() {
        return goods_thumb;
    }

    public void setGoods_thumb(String goods_thumb) {
        this.goods_thumb = goods_thumb;
    }

    public String getGoods_img() {
        return goods_img;
    }

    public void setGoods_img(String goods_img) {
        this.goods_img = goods_img;
    }

    public String getOriginal_img() {
        return original_img;
    }

    public void setOriginal_img(String original_img) {
        this.original_img = original_img;
    }

    public boolean isIs_real() {
        return is_real;
    }

    public void setIs_real(boolean is_real) {
        this.is_real = is_real;
    }

    public boolean isIs_on_sale() {
        return is_on_sale;
    }

    public void setIs_on_sale(boolean is_on_sale) {
        this.is_on_sale = is_on_sale;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public int getSort_order() {
        return sort_order;
    }

    public void setSort_order(int sort_order) {
        this.sort_order = sort_order;
    }

    public boolean isIs_delete() {
        return is_delete;
    }

    public void setIs_delete(boolean is_delete) {
        this.is_delete = is_delete;
    }

    public int getHot_sort() {
        return hot_sort;
    }

    public void setHot_sort(int hot_sort) {
        this.hot_sort = hot_sort;
    }

    public int getBest_sort() {
        return best_sort;
    }

    public void setBest_sort(int best_sort) {
        this.best_sort = best_sort;
    }

    public int getNew_sort() {
        return new_sort;
    }

    public void setNew_sort(int new_sort) {
        this.new_sort = new_sort;
    }

    public boolean isIs_promote() {
        return is_promote;
    }

    public void setIs_promote(boolean is_promote) {
        this.is_promote = is_promote;
    }

    public String getLast_update() {
        return last_update;
    }

    public void setLast_update(String last_update) {
        this.last_update = last_update;
    }

    public String getSeller_note() {
        return seller_note;
    }

    public void setSeller_note(String seller_note) {
        this.seller_note = seller_note;
    }
}
